*** empty log message ***
authorMichaël Cadilhac <michael.cadilhac@lrde.org>
Fri, 17 Aug 2007 22:51:24 +0000 (22:51 +0000)
committerMichaël Cadilhac <michael.cadilhac@lrde.org>
Fri, 17 Aug 2007 22:51:24 +0000 (22:51 +0000)
lisp/ChangeLog

index d6cdfec0dcdd636aefbded6f62ce614a4f7220ad..5a1fe4b9401a0647cc981fe6d96f22d741496cdf 100644 (file)
@@ -1,3 +1,21 @@
+2007-08-09  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+
+       * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
+       (meta-indent-current-nesting): Use a computation of the nesting
+       instead.
+       (meta-indent-current-indentation): Indentation is given according
+       to nesting and if the previous line was finished or not.
+       (meta-indent-unfinished-line): Tell if the current line ends with
+       a finished expression.
+       (meta-indent-looking-at-code): Like `looking-at', but checks if
+       the point is a string before.
+       (meta-indent-level-count): Use it.  Don't count parenthesis as it's
+       done in the nesting function.
+       (meta-indent-in-string-p): Tell if the current point is in a
+       string.
+       (meta-indent-calculate): Treat b-o-b as a special case.  Use the
+       previous functions.
+
 2007-08-17  Thien-Thi Nguyen  <ttn@gnuvola.org>
 
        * emacs-lisp/copyright.el (copyright-limit): New defsubst.